package com.example.home.api

import com.example.base.app.conts.BaseConst
import com.example.common.view.api.BaseApiServer
import com.example.common.view.model.BaseResultData
import com.example.home.entity.NoticeEntityItem
import retrofit2.http.GET
import retrofit2.http.Query

interface HomeApiServer:BaseApiServer {
    @GET(BaseConst.NOTICE_URL)
    suspend fun getNotice(@Query("page")page:Int,@Query("size")size:Int): BaseResultData<List<NoticeEntityItem>>
}